﻿using System.Collections.Generic;

namespace gt.webapi.core.Entity.Client
{
    public class AuthorityEntity
    {
        public string Name { get; set; }
        public string Appkey { get; set; }
        public string Appsecret { get; set; }

        public bool HasAllControllerActions { get; set; }
        public List<ControllerActionEntity> ControllerActions { get; set; }
    }

    public class SimpleAuthorityEntity
    {
        public string Appkey { get; set; }
        public string Appsecret { get; set; }
    }
}
